<template>
    <div class="mybutton">
       <button @click="tapup">登录</button>
    </div>
</template>

<script>
    export default {
        methods: {
            tapup() {
                this.$emit('click')
            }
        },
    }
</script>

<style lang="scss" scoped>
    .mybutton{
        button{
            padding:8px 15px;
            border: none;
            background-color: #409eff;
            color: white;
            border-radius: 5px;
        }
    }
</style>